package com.fitbet.admin.service.bonus;

import java.util.List;

import com.demo2do.core.entity.page.Page;
import com.demo2do.core.persistence.support.QueryFilter;
import com.fitbet.admin.entity.search.bonus.UserWithdrawalSearch;
import com.fitbet.admin.service.DataService;
import com.fitbet.entity.user.UserWithdrawal;

/**
 * @author xiaoHU
 *
 */
public interface WithdrawalAuditingsService extends DataService<UserWithdrawal> {

    /**
     * @param userWithdrawal
     */
    public void pay(UserWithdrawal userWithdrawal);

    /**
     * @return
     */
    public int count();

    /**
     * @param with
     * @return
     */
    public List<UserWithdrawal> list(Page with);

    /**
     * @param class1
     * @param preparedFilter
     * @return
     */
    public int countSearch(Class<UserWithdrawal> class1, QueryFilter preparedFilter);

    /**
     * @param search
     * @param with
     * @return
     */
    public List<UserWithdrawal> listSearch(UserWithdrawalSearch search, Page with);


}
